package com.guslegend.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: guslegend
 * @description: 用户登录请求对象
 * @create: 2025-05-28 09:03
 **/
@Data
@ApiModel(value = "用户登录对象", description = "用户登录请求对象,密码登录则需要密码，验证码登录则需要验证码")
public class UserLoginRequest {
    @ApiModelProperty(value = "邮箱", example = "shop1024666@qq.com", required = true)
    private String mail;
    @ApiModelProperty(value = "密码", example = "123456")
    private String pwd;
    @ApiModelProperty(value = "验证码", example = "152860")
    private String code;
}
